#include<stdio.h>
int main (void)
{
int a,b,c,d,e,mean=0, variance=0;
printf ("This is program to calculate the Mean and Variance of given any five integers\n");
printf ("Please give first integer and press enter for the second\n:");
scanf("%d",&a);
printf ("Please give second integer and press enter for the third\n:");
scanf("%d",&b);
printf ("Please give third integer and press enter for the fourth\n:");
scanf("%d",&c);
printf ("Please give fourth integer and press enter for the fifth\n:");
scanf("%d",&d);
printf ("Please give fifth integer and press enter for the calculated mean and variance\n:");
scanf("%d",&e);
mean = (a+b+c+d+e)/5;
printf ("So, the mean of given integers is %d \n:",mean);
variance = (((mean-a)*(mean-a))+((mean-b)*(mean-b))+((mean-c)*(mean-c))+((mean-d)*(mean-d))+((mean-e)*(mean-e)))/5;
printf ("\nAnd, the variance of given integers is %d \n:",variance);

return 0;



}
